package com.itheima.service.impl;

import com.itheima.entity.Emp;
import com.itheima.mapper.LonginMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LonginService implements com.itheima.service.LonginService {
    @Autowired
    private LonginMapper empMapper;

    @Override
    public Emp login(Emp emp) {
        return empMapper.selectById(emp);

    }
}
